Skip to main content

IEntityStore<T>

For providers that want a cleaner API with a little more perf

Assembly: ServiceStack.Interfaces.dll​
View Source​
Declaration
public interface IEntityStore<T>

Methods​

GetById(Object)​

View Source​
Declaration
T GetById(object id)
Returns​

<T>

Parameters​
TypeName
System.Objectid

GetByIds(IEnumerable)​

View Source​
Declaration
IList<T> GetByIds(IEnumerable ids)
Returns​

System.Collections.Generic.IList<<T>>

Parameters​
TypeName
System.Collections.IEnumerableids

GetAll()​

View Source​
Declaration
IList<T> GetAll()
Returns​

System.Collections.Generic.IList<<T>>

Store(T)​

View Source​
Declaration
T Store(T entity)
Returns​

<T>

Parameters​
TypeName
<T>entity

StoreAll(IEnumerable<T>)​

View Source​
Declaration
void StoreAll(IEnumerable<T> entities)
Parameters​
TypeName
System.Collections.Generic.IEnumerable<<T>>entities

Delete(T)​

View Source​
Declaration
void Delete(T entity)
Parameters​
TypeName
<T>entity

DeleteById(Object)​

View Source​
Declaration
void DeleteById(object id)
Parameters​
TypeName
System.Objectid

DeleteByIds(IEnumerable)​

View Source​
Declaration
void DeleteByIds(IEnumerable ids)
Parameters​
TypeName
System.Collections.IEnumerableids

DeleteAll()​

View Source​
Declaration
void DeleteAll()